package com.loveshes.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author wangz4
 * @date 2024/12/26 17:46
 */
public class SleepUtil {
    
    private static final Logger logger = LoggerFactory.getLogger(SleepUtil.class);
    
    public static void sleep(long millis) {
        try {
            Thread.sleep(millis);
        } catch (InterruptedException e) {
            logger.error("休眠异常", e);
        }
    }
    
}